﻿using System;
using System.Collections.Generic;
using System.Reflection;

using Pamela.Logic.Helpers;
using Pamela.Logic.Imps.Mvc;
using Pamela.Logic.Layers.Base;
using Pamela.Logic.ProjectFiles;

namespace Pamela.Logic.Layers.Mvc
{
    public class MvcBusinessLayer : BaseLayer
    {
        public MvcBusinessLayer(Assembly assembly, BuilderInfo info)
            : base(info, "Business")
        {
            this.projectFile = new ProjectFileBusiness(info);

            this.builderCollection.Add(new MvcServiceBuilder(assembly, info, this.layerName));
            this.builderCollection.Add(new MvcServiceInterfaceBuilder(assembly, info, this.layerName));
            this.builderCollection.Add(new MvcValidationBuilder(assembly, info, this.layerName));    
        }
    }
}
